package com.souku.finance.application.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by Android on 2017/1/3.
 * 用户加息券列表
 */

public class AddpointBean {


    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Parcelable {

        private String beginTime;
        private String dealId;
        private String dealLoadId;
        private String endTime;
        private String gmtCreated;
        private String gmtModified;
        private String id;
        private String ircConfigDetailId;
        private String ircDays;
        private String minThreshold;
        private String name;
        private String rate;
        private String sourceType;
        private String state;
        private String thresholdCanDemand;
        private String thresholdDealDuration;
        private String thresholdType;
        private String userId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getDealId() {
            return dealId;
        }

        public void setDealId(String dealId) {
            this.dealId = dealId;
        }

        public String getDealLoadId() {
            return dealLoadId;
        }

        public void setDealLoadId(String dealLoadId) {
            this.dealLoadId = dealLoadId;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getGmtCreated() {
            return gmtCreated;
        }

        public void setGmtCreated(String gmtCreated) {
            this.gmtCreated = gmtCreated;
        }

        public String getGmtModified() {
            return gmtModified;
        }

        public void setGmtModified(String gmtModified) {
            this.gmtModified = gmtModified;
        }

        public String getIrcConfigDetailId() {
            return ircConfigDetailId;
        }

        public void setIrcConfigDetailId(String ircConfigDetailId) {
            this.ircConfigDetailId = ircConfigDetailId;
        }

        public String getIrcDays() {
            return ircDays;
        }

        public void setIrcDays(String ircDays) {
            this.ircDays = ircDays;
        }

        public String getMinThreshold() {
            return minThreshold;
        }

        public void setMinThreshold(String minThreshold) {
            this.minThreshold = minThreshold;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getRate() {
            return rate;
        }

        public void setRate(String rate) {
            this.rate = rate;
        }

        public String getSourceType() {
            return sourceType;
        }

        public void setSourceType(String sourceType) {
            this.sourceType = sourceType;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getThresholdCanDemand() {
            return thresholdCanDemand;
        }

        public void setThresholdCanDemand(String thresholdCanDemand) {
            this.thresholdCanDemand = thresholdCanDemand;
        }

        public String getThresholdDealDuration() {
            return thresholdDealDuration;
        }

        public void setThresholdDealDuration(String thresholdDealDuration) {
            this.thresholdDealDuration = thresholdDealDuration;
        }

        public String getThresholdType() {
            return thresholdType;
        }

        public void setThresholdType(String thresholdType) {
            this.thresholdType = thresholdType;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.beginTime);
            dest.writeString(this.dealId);
            dest.writeString(this.dealLoadId);
            dest.writeString(this.endTime);
            dest.writeString(this.gmtCreated);
            dest.writeString(this.gmtModified);
            dest.writeString(this.id);
            dest.writeString(this.ircConfigDetailId);
            dest.writeString(this.ircDays);
            dest.writeString(this.minThreshold);
            dest.writeString(this.name);
            dest.writeString(this.rate);
            dest.writeString(this.sourceType);
            dest.writeString(this.state);
            dest.writeString(this.thresholdCanDemand);
            dest.writeString(this.thresholdDealDuration);
            dest.writeString(this.thresholdType);
            dest.writeString(this.userId);
        }

        public ListBean() {
        }

        protected ListBean(Parcel in) {
            this.beginTime = in.readString();
            this.dealId = in.readString();
            this.dealLoadId = in.readString();
            this.endTime = in.readString();
            this.gmtCreated = in.readString();
            this.gmtModified = in.readString();
            this.id = in.readString();
            this.ircConfigDetailId = in.readString();
            this.ircDays = in.readString();
            this.minThreshold = in.readString();
            this.name = in.readString();
            this.rate = in.readString();
            this.sourceType = in.readString();
            this.state = in.readString();
            this.thresholdCanDemand = in.readString();
            this.thresholdDealDuration = in.readString();
            this.thresholdType = in.readString();
            this.userId = in.readString();
        }

        public static final Parcelable.Creator<ListBean> CREATOR = new Parcelable.Creator<ListBean>() {
            @Override
            public ListBean createFromParcel(Parcel source) {
                return new ListBean(source);
            }

            @Override
            public ListBean[] newArray(int size) {
                return new ListBean[size];
            }
        };
    }
}
